package com.ptu.entity;

import java.util.Date;

/**
 * 支出实体类
 */
public class Payment {


    private Integer pid;        // 支出编号
    private String payempid;    // 支出人
    private Double amount;      // 支出金额
    private Date paytime;       // 支出时间
    private String paytype;      // 支出类型
    private String paydesc;       // 支出说明




    public Payment() {
    }

    public Payment(Integer pid, String payempid, Double amount, Date paytime, String paytype, String paydesc) {
        this.pid = pid;
        this.payempid = payempid;
        this.amount = amount;
        this.paytime = paytime;
        this.paytype = paytype;
        this.paydesc = paydesc;
    }

    @Override
    public String toString() {
        return "Payment{" +
                "pid=" + pid +
                ", payempid='" + payempid + '\'' +
                ", amount=" + amount +
                ", paytime=" + paytime +
                ", paytype=" + paytype +
                ", paydesc='" + paydesc + '\'' +
                '}';
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPayempid() {
        return payempid;
    }

    public void setPayempid(String payempid) {
        this.payempid = payempid;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Date getPaytime() {
        return paytime;
    }

    public void setPaytime(Date paytime) {
        this.paytime = paytime;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public String getPaydesc() {
        return paydesc;
    }

    public void setPaydesc(String paydesc) {
        this.paydesc = paydesc;
    }
}
